package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 影片信息对象 film_information
 * 
 * @author ruoyi
 * @date 2024-06-28
 */
public class FilmInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 影片ID，主键，自增长 */
    private Long filmId;

    /** 电影名称 */
    @Excel(name = "电影名称")
    private String filmName;

    /** 电影类型 */
    @Excel(name = "电影类型")
    private String filmType;

    /** 导演 */
    @Excel(name = "导演")
    private String director;

    /** 主要演员 */
    @Excel(name = "主要演员")
    private String actors;

    /** 电影时长 */
    @Excel(name = "电影时长")
    private Long durationMinutes;

    /** 上映日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上映日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseDate;

    /** 电影图片 */
    @Excel(name = "电影图片")
    private String filmImage;

    public void setFilmId(Long filmId) 
    {
        this.filmId = filmId;
    }

    public Long getFilmId() 
    {
        return filmId;
    }
    public void setFilmName(String filmName) 
    {
        this.filmName = filmName;
    }

    public String getFilmName() 
    {
        return filmName;
    }
    public void setFilmType(String filmType) 
    {
        this.filmType = filmType;
    }

    public String getFilmType() 
    {
        return filmType;
    }
    public void setDirector(String director) 
    {
        this.director = director;
    }

    public String getDirector() 
    {
        return director;
    }
    public void setActors(String actors) 
    {
        this.actors = actors;
    }

    public String getActors() 
    {
        return actors;
    }
    public void setDurationMinutes(Long durationMinutes) 
    {
        this.durationMinutes = durationMinutes;
    }

    public Long getDurationMinutes() 
    {
        return durationMinutes;
    }
    public void setReleaseDate(Date releaseDate) 
    {
        this.releaseDate = releaseDate;
    }

    public Date getReleaseDate() 
    {
        return releaseDate;
    }
    public void setFilmImage(String filmImage) 
    {
        this.filmImage = filmImage;
    }

    public String getFilmImage() 
    {
        return filmImage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("filmId", getFilmId())
            .append("filmName", getFilmName())
            .append("filmType", getFilmType())
            .append("director", getDirector())
            .append("actors", getActors())
            .append("durationMinutes", getDurationMinutes())
            .append("releaseDate", getReleaseDate())
            .append("filmImage", getFilmImage())
            .toString();
    }
}
